package com.pai4j.log.enums;

import lombok.Getter;

/**
 * 日志类型枚举
 *
 * @author: CYM-pai
 * @date: 2025/07/29 15:05
 **/
@Getter
public enum LogTypeEnum {

    /**
     * 操作日志
     */
    OPERATION("OPERATION", "操作日志"),

    /**
     * 系统日志
     */
    SYSTEM("SYSTEM", "系统日志"),

    /**
     * 错误日志
     */
    ERROR("ERROR", "错误日志"),

    /**
     * 性能日志
     */
    PERFORMANCE("PERFORMANCE", "性能日志"),

    /**
     * 安全日志
     */
    SECURITY("SECURITY", "安全日志");

    private final String code;
    private final String description;

    LogTypeEnum(String code, String description) {
        this.code = code;
        this.description = description;
    }
}
